﻿#pragma once
#include "RendererAPI.h"
#include "Hazel.h"
#include "Renderer.h"

namespace Hazel {

	class RenderCommand
	{
	public:
		inline static void SetClearColor(const glm::vec4& color)
		{
			Renderer::GetAPI()->SetClearColor(color);
		}

		inline static void Clear()
		{
			Renderer::GetAPI()->Clear();
		}

		inline static void DrawIndexed(const Ref<VertexArray>& vertexArray)
		{
			Renderer::GetAPI()->DrawIndexed(vertexArray);
		}
	};

} 